[INFO] cloning repository https://github.com/ldm0/ffgen
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ldm0/ffgen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fldm0%2Fffgen", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fldm0%2Fffgen'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 23638bbda1b8104ac0f8692ebda42c679dc9d5bb
[INFO] testing ldm0/ffgen against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fldm0%2Fffgen" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ldm0/ffgen on toolchain b70888601af92f6cdc0364abab3446e418b91d36
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ldm0/ffgen
[INFO] finished tweaking git repo https://github.com/ldm0/ffgen
[INFO] tweaked toml for git repo https://github.com/ldm0/ffgen written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/ldm0/ffgen already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 966b2de609e9eb060cc34ac538c4a02872242b543d7f6c86a930c5f97ce8dcd6
[INFO] running `Command { std: "docker" "start" "-a" "966b2de609e9eb060cc34ac538c4a02872242b543d7f6c86a930c5f97ce8dcd6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "966b2de609e9eb060cc34ac538c4a02872242b543d7f6c86a930c5f97ce8dcd6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "966b2de609e9eb060cc34ac538c4a02872242b543d7f6c86a930c5f97ce8dcd6", kill_on_drop: false }`
[INFO] [stdout] 966b2de609e9eb060cc34ac538c4a02872242b543d7f6c86a930c5f97ce8dcd6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9ae0ab97eb297a61f05137ebc64e590e790ee5a8cd74450d76e9028327f432fb
[INFO] running `Command { std: "docker" "start" "-a" "9ae0ab97eb297a61f05137ebc64e590e790ee5a8cd74450d76e9028327f432fb", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling libc v0.2.73
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling cc v1.0.58
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.19
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling regex-syntax v0.6.18
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling termcolor v1.1.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling bindgen v0.54.1
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling lazycell v1.2.1
[INFO] [stderr]    Compiling shlex v0.1.1
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling pkg-config v0.3.18
[INFO] [stderr]    Compiling once_cell v1.4.0
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling memoffset v0.5.5
[INFO] [stderr]    Compiling clang-sys v0.29.3
[INFO] [stderr]    Compiling aho-corasick v0.7.13
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling which v3.1.1
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling clap v2.33.1
[INFO] [stderr]    Compiling regex v1.3.9
[INFO] [stderr]    Compiling cexpr v0.4.0
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling rusty_ffmpeg v0.2.5
[INFO] [stderr]    Compiling ffgen v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `once_cell::sync::Lazy`
[INFO] [stdout]  --> src/cmdutils.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use once_cell::sync::Lazy;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `avutils::*`
[INFO] [stdout]  --> src/cmdutils.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 |     avutil::{avutils::*, error::*},
[INFO] [stdout]   |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CStr`, `collections::HashMap`, `mem`, `slice`, `sync::Mutex`
[INFO] [stdout]   --> src/cmdutils.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     collections::HashMap,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     default,
[INFO] [stdout] 13 |     ffi::{CStr, CString},
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 14 |     fmt, marker, mem, ptr, slice,
[INFO] [stdout]    |                  ^^^       ^^^^^
[INFO] [stdout] 15 |     sync::Mutex,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug`, `info`
[INFO] [stdout]  --> src/ffmpeg.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::{debug, error, info};
[INFO] [stdout]   |           ^^^^^         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `libc::c_void`
[INFO] [stdout]  --> src/ffmpeg_opt.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libc::c_void;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug`, `error`, `info`
[INFO] [stdout]  --> src/ffmpeg_opt.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::{debug, error, info};
[INFO] [stdout]   |           ^^^^^  ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `avutils::*`, `error::*`, `ffi`
[INFO] [stdout]  --> src/ffmpeg_opt.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 |     avutil::{avutils::*, error::*},
[INFO] [stdout]   |              ^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 5 |     ffi,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CStr`, `CString`, `ptr`, `slice`
[INFO] [stdout]  --> src/ffmpeg_opt.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 |     ffi::{CStr, CString},
[INFO] [stdout]   |           ^^^^  ^^^^^^^
[INFO] [stdout] 9 |     ptr, slice,
[INFO] [stdout]   |     ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `INT_CB`, `OptionsContext`, `self`
[INFO] [stdout]   --> src/ffmpeg_opt.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |     ffmpeg::{self, OptionsContext, INT_CB},
[INFO] [stdout]    |              ^^^^  ^^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]  --> src/graph_parser.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use log::{debug, error};
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OptionGroupList`, `OptionGroup`, `OptionKV`, `OptionParseContext`
[INFO] [stdout]   --> src/options.rs:11:32
[INFO] [stdout]    |
[INFO] [stdout] 11 |         OptionDef, OptionFlag, OptionGroup, OptionGroupDef, OptionGroupList, OptionKV,
[INFO] [stdout]    |                                ^^^^^^^^^^^                  ^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 12 |         OptionOperation, OptionParseContext,
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `GroupInfile`
[INFO] [stdout]   --> src/cmdutils.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     GroupInfile = 1,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `parse_optgroup`
[INFO] [stdout]    --> src/cmdutils.rs:215:8
[INFO] [stdout]     |
[INFO] [stdout] 215 | pub fn parse_optgroup<'ctxt>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `parse_number`
[INFO] [stdout]    --> src/cmdutils.rs:245:8
[INFO] [stdout]     |
[INFO] [stdout] 245 | pub fn parse_number(
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `parse_time`
[INFO] [stdout]    --> src/cmdutils.rs:274:4
[INFO] [stdout]     |
[INFO] [stdout] 274 | fn parse_time(context: &str, timestr: &str, is_duration: bool) -> Result<i64, String> {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `write_option`
[INFO] [stdout]    --> src/cmdutils.rs:291:4
[INFO] [stdout]     |
[INFO] [stdout] 291 | fn write_option(
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static is never used: `RECEIVED_NB_SIGNALS`
[INFO] [stdout]   --> src/ffmpeg.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | static RECEIVED_NB_SIGNALS: Lazy<Mutex<isize>> = Lazy::new(|| Mutex::new(0));
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static is never used: `TRANSCODE_INIT_DONE`
[INFO] [stdout]   --> src/ffmpeg.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | static TRANSCODE_INIT_DONE: Lazy<Mutex<isize>> = Lazy::new(|| Mutex::new(0));
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `decodec_interrupt_cb`
[INFO] [stdout]   --> src/ffmpeg.rs:23:22
[INFO] [stdout]    |
[INFO] [stdout] 23 | unsafe extern "C" fn decodec_interrupt_cb(_ctx: *mut libc::c_void) -> libc::c_int {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `INT_CB`
[INFO] [stdout]   --> src/ffmpeg.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | / pub const INT_CB: ffi::AVIOInterruptCB = ffi::AVIOInterruptCB {
[INFO] [stdout] 34 | |     callback: Some(decodec_interrupt_cb),
[INFO] [stdout] 35 | |     opaque: ptr::null_mut(),
[INFO] [stdout] 36 | | };
[INFO] [stdout]    | |__^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `remove_avoptions`
[INFO] [stdout]   --> src/ffmpeg.rs:38:15
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub unsafe fn remove_avoptions(a: &mut *mut ffi::AVDictionary, b: *mut ffi::AVDictionary) {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `assert_avoptions`
[INFO] [stdout]   --> src/ffmpeg.rs:52:15
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub unsafe fn assert_avoptions(a: *mut ffi::AVDictionary) {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]    --> src/ffmpeg.rs:185:12
[INFO] [stdout]     |
[INFO] [stdout] 185 |     pub fn new(group: &'a mut OptionGroup<'group>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum is never used: `OptGroup`
[INFO] [stdout]   --> src/ffmpeg_opt.rs:24:6
[INFO] [stdout]    |
[INFO] [stdout] 24 | enum OptGroup {
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get`
[INFO] [stdout]   --> src/graph_parser.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 66 |     fn get(&mut self) -> Option<u8> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `VSYNC_AUTO`
[INFO] [stdout]    --> src/options.rs:325:1
[INFO] [stdout]     |
[INFO] [stdout] 325 | const VSYNC_AUTO: isize = -1;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static is never used: `input_stream_potentially_available`
[INFO] [stdout]    --> src/options.rs:342:1
[INFO] [stdout]     |
[INFO] [stdout] 342 | pub static mut input_stream_potentially_available: isize = 0;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static is never used: `video_sync_method`
[INFO] [stdout]    --> src/options.rs:353:1
[INFO] [stdout]     |
[INFO] [stdout] 353 | pub static mut video_sync_method: isize = VSYNC_AUTO;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static is never used: `abort_on_flags`
[INFO] [stdout]    --> src/options.rs:365:1
[INFO] [stdout]     |
[INFO] [stdout] 365 | pub static mut abort_on_flags: isize = 0;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `opt_default_new`
[INFO] [stdout]    --> src/options.rs:591:4
[INFO] [stdout]     |
[INFO] [stdout] 591 | fn opt_default_new(optctx: *mut c_void, opt: &str, arg: &str) -> i64 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `ptr_offset_from` has been stable since 1.47.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | #![feature(ptr_offset_from)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/cmdutils.rs:252:52
[INFO] [stdout]     |
[INFO] [stdout] 252 |     let numstr_ptr = CString::new(numstr).unwrap().as_ptr();
[INFO] [stdout]     |                      ----------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/cmdutils.rs:276:54
[INFO] [stdout]     |
[INFO] [stdout] 276 |     let timestr_ptr = CString::new(timestr).unwrap().as_ptr();
[INFO] [stdout]     |                       ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `format_opts` should have an upper case name
[INFO] [stdout]   --> src/cmdutils.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | static mut format_opts: *mut ffi::AVDictionary = ptr::null_mut();
[INFO] [stdout]    |            ^^^^^^^^^^^ help: convert the identifier to upper case: `FORMAT_OPTS`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `codec_opts` should have an upper case name
[INFO] [stdout]   --> src/cmdutils.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | static mut codec_opts: *mut ffi::AVDictionary = ptr::null_mut();
[INFO] [stdout]    |            ^^^^^^^^^^ help: convert the identifier to upper case: `CODEC_OPTS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `sws_dict` should have an upper case name
[INFO] [stdout]   --> src/cmdutils.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | static mut sws_dict: *mut ffi::AVDictionary = ptr::null_mut();
[INFO] [stdout]    |            ^^^^^^^^ help: convert the identifier to upper case: `SWS_DICT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `swr_opts` should have an upper case name
[INFO] [stdout]   --> src/cmdutils.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | static mut swr_opts: *mut ffi::AVDictionary = ptr::null_mut();
[INFO] [stdout]    |            ^^^^^^^^ help: convert the identifier to upper case: `SWR_OPTS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `resample_opts` should have an upper case name
[INFO] [stdout]   --> src/cmdutils.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | static mut resample_opts: *mut ffi::AVDictionary = ptr::null_mut();
[INFO] [stdout]    |            ^^^^^^^^^^^^^ help: convert the identifier to upper case: `RESAMPLE_OPTS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/ffgen-4828af38edb7b600.ffgen.bcd70bf7-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/ffgen-4828af38edb7b600.ffgen.bcd70bf7-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/ffgen-4828af38edb7b600.ffgen.bcd70bf7-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/ffgen-4828af38edb7b600.ffgen.bcd70bf7-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/ffgen-4828af38edb7b600.ffgen.bcd70bf7-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/ffgen-4828af38edb7b600.ffgen.bcd70bf7-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/ffgen-4828af38edb7b600.ffgen.bcd70bf7-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/ffgen-4828af38edb7b600.ffgen.bcd70bf7-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/ffgen-4828af38edb7b600.ffgen.bcd70bf7-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/ffgen-4828af38edb7b600.ffgen.bcd70bf7-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/ffgen-4828af38edb7b600.ffgen.bcd70bf7-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/ffgen-4828af38edb7b600.ffgen.bcd70bf7-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/ffgen-4828af38edb7b600.ffgen.bcd70bf7-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/ffgen-4828af38edb7b600.ffgen.bcd70bf7-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/ffgen-4828af38edb7b600.ffgen.bcd70bf7-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/ffgen-4828af38edb7b600.ffgen.bcd70bf7-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/ffgen-4828af38edb7b600.31yplxxwde8p2sp6.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libenv_logger-966c8400dd2f6491.rlib" "/opt/rustwide/target/debug/deps/libtermcolor-d313320f4ef2eebc.rlib" "/opt/rustwide/target/debug/deps/libatty-5b8697a643534e85.rlib" "/opt/rustwide/target/debug/deps/libhumantime-33144d077327c6a9.rlib" "/opt/rustwide/target/debug/deps/libquick_error-5ca0b2d5261a4c49.rlib" "/opt/rustwide/target/debug/deps/libregex-b50f715f0d3da5e1.rlib" "/opt/rustwide/target/debug/deps/libthread_local-2691e1649196a294.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-f67718dd40129317.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-0bf2c0c5f07aac96.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-2d2b30238a0db50c.rlib" "/opt/rustwide/target/debug/deps/libmemchr-26b0e7e929d29953.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-b6b3578a720575f4.rlib" "/opt/rustwide/target/debug/deps/librusty_ffmpeg-766461a8103d71f0.rlib" "/opt/rustwide/target/debug/deps/libonce_cell-7befed6f9eed39b0.rlib" "/opt/rustwide/target/debug/deps/liblog-446aaeb09775af75.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-de9cbe0cb77e19a3.rlib" "/opt/rustwide/target/debug/deps/liblibc-1a07992f1267d03d.rlib" "/opt/rustwide/target/debug/deps/libbitflags-603a79344a96ee73.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9c44f1fe63de3edb.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5dfdbb680ac299a1.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-353beaf877db2fdf.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-cd4abd33332d2d3f.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3b908b5b50ddd80c.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-9cafd3521b5532d3.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-7b0935832903a9ac.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-8a349b13d67c76e3.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-9d41e7cb09eafd8e.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-095194fedb4c0ec4.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-968cf83f088269ec.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e63bbb95a6beff5c.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-9f216e67c2916fa5.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-4688b763605c6a0e.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-a9b2dc3244289321.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-003d83a588984e1f.rlib" "-Wl,-Bdynamic" "-lavdevice" "-lraw1394" "-lavc1394" "-lrom1394" "-liec61883" "-ljack" "-lopenal" "-lxcb" "-lxcb-shm" "-lxcb-shape" "-lxcb-xfixes" "-lcdio_paranoia" "-lcdio_cdda" "-lcdio" "-ldc1394" "-lasound" "-lcaca" "-lGL" "-lpulse" "-lSDL2" "-lsndio" "-lavfilter" "-lbs2b" "-llilv-0" "-lsratom-0" "-lsord-0" "-lserd-0" "-lrubberband" "-lmysofa" "-lflite_cmu_time_awb" "-lflite_cmu_us_awb" "-lflite_cmu_us_kal" "-lflite_cmu_us_kal16" "-lflite_cmu_us_rms" "-lflite_cmu_us_slt" "-lflite_usenglish" "-lflite_cmulex" "-lflite" "-lfribidi" "-lass" "-lvidstab" "-lgomp" "-lzmq" "-lfontconfig" "-lfreetype" "-lavformat" "-lxml2" "-lbz2" "-lgme" "-lopenmpt" "-lchromaprint" "-lbluray" "-lgnutls" "-lssh" "-lavcodec" "-lvpx" "-lwebpmux" "-llzma" "-lrsvg-2" "-lgio-2.0" "-lgdk_pixbuf-2.0" "-lgobject-2.0" "-lglib-2.0" "-lcairo" "-lzvbi" "-lpng" "-lsnappy" "-lstdc++" "-lz" "-laom" "-lpthread" "-lcodec2" "-lgsm" "-lmp3lame" "-lopenjp2" "-lopus" "-lshine" "-lspeex" "-ltheoraenc" "-ltheoradec" "-logg" "-ltwolame" "-lvorbis" "-lvorbisenc" "-lwavpack" "-lwebp" "-lx264" "-lx265" "-lxvidcore" "-lpostproc" "-lswresample" "-lsoxr" "-lswscale" "-lavutil" "-lva-drm" "-lva-x11" "-lvdpau" "-lm" "-ldrm" "-lOpenCL" "-lva" "-lXv" "-lX11" "-lXext" "-ldl" "-lutil" "-ldl" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/b70888601af92f6cdc0364abab3446e418b91d36/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/ffgen-4828af38edb7b600" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: cannot find -lraw1394
[INFO] [stdout]           /usr/bin/ld: cannot find -lavc1394
[INFO] [stdout]           /usr/bin/ld: cannot find -lrom1394
[INFO] [stdout]           /usr/bin/ld: cannot find -liec61883
[INFO] [stdout]           /usr/bin/ld: cannot find -ldc1394
[INFO] [stdout]           /usr/bin/ld: cannot find -lcaca
[INFO] [stdout]           /usr/bin/ld: cannot find -lbs2b
[INFO] [stdout]           /usr/bin/ld: cannot find -llilv-0
[INFO] [stdout]           /usr/bin/ld: cannot find -lsratom-0
[INFO] [stdout]           /usr/bin/ld: cannot find -lsord-0
[INFO] [stdout]           /usr/bin/ld: cannot find -lserd-0
[INFO] [stdout]           /usr/bin/ld: cannot find -lrubberband
[INFO] [stdout]           /usr/bin/ld: cannot find -lmysofa
[INFO] [stdout]           /usr/bin/ld: cannot find -lflite_cmu_time_awb
[INFO] [stdout]           /usr/bin/ld: cannot find -lflite_cmu_us_awb
[INFO] [stdout]           /usr/bin/ld: cannot find -lflite_cmu_us_kal
[INFO] [stdout]           /usr/bin/ld: cannot find -lflite_cmu_us_kal16
[INFO] [stdout]           /usr/bin/ld: cannot find -lflite_cmu_us_rms
[INFO] [stdout]           /usr/bin/ld: cannot find -lflite_cmu_us_slt
[INFO] [stdout]           /usr/bin/ld: cannot find -lflite_usenglish
[INFO] [stdout]           /usr/bin/ld: cannot find -lflite_cmulex
[INFO] [stdout]           /usr/bin/ld: cannot find -lflite
[INFO] [stdout]           /usr/bin/ld: cannot find -lvidstab
[INFO] [stdout]           /usr/bin/ld: cannot find -lgme
[INFO] [stdout]           /usr/bin/ld: cannot find -lopenmpt
[INFO] [stdout]           /usr/bin/ld: cannot find -lchromaprint
[INFO] [stdout]           /usr/bin/ld: cannot find -lssh
[INFO] [stdout]           /usr/bin/ld: cannot find -lzvbi
[INFO] [stdout]           /usr/bin/ld: cannot find -lsnappy
[INFO] [stdout]           /usr/bin/ld: cannot find -laom
[INFO] [stdout]           /usr/bin/ld: cannot find -lcodec2
[INFO] [stdout]           /usr/bin/ld: cannot find -lgsm
[INFO] [stdout]           /usr/bin/ld: cannot find -lmp3lame
[INFO] [stdout]           /usr/bin/ld: cannot find -lopenjp2
[INFO] [stdout]           /usr/bin/ld: cannot find -lshine
[INFO] [stdout]           /usr/bin/ld: cannot find -lspeex
[INFO] [stdout]           /usr/bin/ld: cannot find -ltwolame
[INFO] [stdout]           /usr/bin/ld: cannot find -lwavpack
[INFO] [stdout]           /usr/bin/ld: cannot find -lx265
[INFO] [stdout]           /usr/bin/ld: cannot find -lxvidcore
[INFO] [stdout]           /usr/bin/ld: cannot find -lsoxr
[INFO] [stdout]           /usr/bin/ld: cannot find -lva-drm
[INFO] [stdout]           /usr/bin/ld: cannot find -lva-x11
[INFO] [stdout]           /usr/bin/ld: cannot find -lvdpau
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 38 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ffgen` due to 2 previous errors; 38 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "9ae0ab97eb297a61f05137ebc64e590e790ee5a8cd74450d76e9028327f432fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ae0ab97eb297a61f05137ebc64e590e790ee5a8cd74450d76e9028327f432fb", kill_on_drop: false }`
[INFO] [stdout] 9ae0ab97eb297a61f05137ebc64e590e790ee5a8cd74450d76e9028327f432fb
